<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:include page="head.html"/>
</head>
<body>
	<div id="head"><h1>KRS</h1></div>
	<jsp:include page="menu.jsp"/>
	<div id="content">
		<h2><c:out value="${title}"/></h2>
		<p><c:out value="${message}"/></p>
		<table class="listing">
			<tbody>
				<tr>
					<th>ID</th>
					<th>Name</th>
					<th>Vorname</th>
					<th>PLZ</th>
					<th>Ort</th>
					<th>Strasse</th>
					<th>Tel.</th>
					<th>Email</th>
					<th>KTO</th>
					<th>BLZ</th>
					<th>Bank</th>
				</tr>
				<c:forEach items="${kunden}" var="kunde">
					<tr>
						<td><c:out value="${kunde.id}"/></td>
						<td><c:out value="${kunde.name}"/></td>
						<td><c:out value="${kunde.vorname}"/></td>
						<td><c:out value="${kunde.plz}"/></td>
						<td><c:out value="${kunde.ort}"/></td>
						<td><c:out value="${kunde.strasse}"/></td>
						<td><c:out value="${kunde.tel}"/></td>
						<td><c:out value="${kunde.email}"/></td>
						<td><c:out value="${kunde.kto}"/></td>
						<td><c:out value="${kunde.blz}"/></td>
						<td><c:out value="${kunde.bank}"/></td>							
					</tr>
				</c:forEach>  
			</tbody>
		</table>
	</div>
</body>
</html>  